
#include <stdio.h>
#include <assert.h>



size_t my_strlen(const char* str)
{
	size_t count = 0;
	assert(str);
	while(*str != '\0')
	{
		count++;
		str++;
	}
	
	return count;
}



int main()
{
	char arr[] = "abcdef";
	size_t n = my_strlen(arr);
	
	printf("%u\n", n);
	
	
	return 0;
}
